Skip to content

Conversation

@ekohl
Copy link
Member

@ekohl ekohl commented Jan 3, 2024

These are parameters on the pulpcore module and allow further tuning without diving into Hiera.

This came up in theforeman/foreman-documentation#2565.

I still think most users shouldn't be touching this, so if our default tuning are poor we should modify them in puppet-pulpcore. That's why it defaults to undef, allowing us to change the tuning under the hood. If there was a default, it would be stored in the users' answer files.

@ehelms
Copy link
Member

ehelms commented Jan 3, 2024

Small typo in commit message Pulpccore -> Pulpcore

postgresql_db_ssl_root_ca => $pulpcore_postgresql_ssl_root_ca,
worker_count => $pulpcore_worker_count,
django_secret_key => $pulpcore_django_secret_key,
content_service_worker_count => $pulpcore_content_service_worker_count,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work properly? Right now this parameter requires an Integer

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puppet always allows undef, which means "use whatever was underneath it".

These are parameters on the pulpcore module and allow further tuning
without diving into Hiera.
@ekohl ekohl force-pushed the 36957-expose-pulpcore-worker-count-parameters branch from 4cc75be to f6a887e Compare January 3, 2024 17:08
@ekohl ekohl changed the title Fixes #36957 - Expose Pulpccore content & api worker counts Fixes #36957 - Expose Pulpcore content & api worker counts Feb 5, 2024
@maximiliankolb
Copy link

This this ready to go? @ekohl

@ekohl
Copy link
Member Author

ekohl commented Mar 7, 2024

I'd still like to know if this is really needed. We try to avoid introducing options that nobody will use. I'm not convinced by theforeman/foreman-documentation#2565, mostly because of https://github.com/theforeman/foreman-documentation/pull/2565/files#r1440684234.

@ekohl ekohl marked this pull request as draft March 7, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants